import request from '@/utils/request'

// 配置
export function getConfig() {
    return Promise.resolve({
        loginCaptcha: true,
        webName: '恩熙供应链',
        webLogo: '',
        webFavicon: 'http://127.0.0.1:20222/api/static/backend_favicon.ico',
        webBackdrop:
            'http://fujiangdao.cn-beijing.oss.aliyuncs.com/image/20241111/b5279e56-980c-4eb6-9e93-757eca584826.png',
        ossDomain: 'http://127.0.0.1:20222/',
        copyright: [
            {
                name: '供应链端',
                link: 'http://www.beian.gov.cn'
            }
        ]
    })
}

// 工作台主页
export function getWorkbench() {
    return request.get({ url: '/index/console' })
}
